package com.yujn.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@ConfigurationProperties("order2")
@PropertySource("classpath:test/MyConfig.properties")
@Data
@Component
public class Order2 {
    private String number;
    private String productName;
}
